<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>编辑文章</title>
<script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="__ROOT__/Public/index/report.css" media="screen" type="text/css" />
<link rel="stylesheet" href="__ROOT__/Public/bootstrap/css/bootstrap.min.css" media="screen" type="text/css" />
<style>
.article{
	margin-top:30px;
}

</style>
</head>
<body>
<include file="Public/nav"/>
<include file="Public/menu_left"/>
<div class="article">
<form action="" method="post">
<input type="hidden" name="id"value="{$article.id}">
<table >

<tr><td><div class="input-group title"><span class="input-group-addon" id="basic-addon1">分类</span><select name="type"  class="form-control"aria-describedby="basic-addon1"><volist id="vo" name="articletype"><option value="{$vo.id}"><font color=#000>{$vo.name}</font></option></volist></select></div></td></tr>
<tr><td><div class="input-group title"><span class="input-group-addon" id="basic-addon1">标题</span><input type="text" name="title" class="form-control" value="{$article.title}"></div></td></tr>
<tr><td><textarea rows="" cols="" id="editor"name="content" class="input-content">{$article.content}</textarea></td></tr>
<tr><td><input type="submit" value="保存" class="btn"></td></tr>
</table>
</form>

</div>
<script src="__ROOT__/Public/ueditor/ueditor.config.js"></script>
<script src="__ROOT__/Public/ueditor/ueditor.all.min.js"></script>
<script>
    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');
    UE.getEditor('editor').setContent('欢迎使用ueditor');
</script>
</body>
</html>